<template>
    <div class="home">
        <Header></Header>
        <Banner></Banner>
    </div>
</template>

<script>
    // @ is an alias to /src
    import Header from '../components/Header'
    import Banner from '../components/Banner'

    export default {
        name: 'home',
        components: {
            Header,Banner
        },
        created() {
            this.$axios({
                url: 'http://127.0.0.1:8000/user/test/',
                methods:'get',
            }).then(response => {
                console.log(response)
            })
        }
    }
</script>
